package com.ruoyi.system.service;

import com.ruoyi.system.domain.Major;
import com.ruoyi.system.domain.SysPost;

import java.util.List;

/**
 * @author rayfoo
 */
public interface IMajorService1 {

    List<Major> selectPostList(Major major);

    Major selectPostById(Long id);

    boolean checkPostNameUnique(Major major);

    boolean checkPostCodeUnique(Major major);

    int insertPost(Major major);
}
